#include "x264codec.h"
#include <QtDebug>

static const QString cname = QObject::tr("X264");
static const QString cintro = QObject::tr("AKA H.264");
static const QString ccomment = QObject::tr("It's good");

X264Codec::X264Codec(QObject *parent)
    :EncoderCodec(parent)
{
}

X264Codec::X264Codec(const X264Codec &c)
    :EncoderCodec(c.parent()){

}

const QString X264Codec::name() const {
    return cname;
}

const QString X264Codec::introduction() const {
    return cintro;
}


QString X264Codec::generateCodecOptionString(const EncoderOption &) {
    return "";
}

const QString X264Codec::comment() const {
    return ccomment;
}

SettingWidgetInterface *X264Codec::settingWidget(SettingWidgetPart part, EncoderOption &) {
    QHash<QString, SettingWidgetInterface *> *set = NULL;

    switch(part) {
    case PART_COMMON:
	set = &m_commonConfigWidgets;
	break;

    case PART_ADVANCE:
	break;

    default:
	return NULL;
    }

    return NULL;
}
